using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


namespace Data.DataSources {
	public class DB_ADS_Login_GroupDataSource : ObjectDataSourceBase {
		public override string SelectViewName { get { return "v_ADS_Login_Group"; } }
		public override string InsertViewName { get { throw new NotSupportedException("Use Active Derectory to update User's membership."); } }
		public DB_ADS_Login_GroupDataSource() {
			OrderBy.Add("sAM_Login,GroupName");
		}
		public void DeleteEx(object sAM_Login,string SID_Group) {
			base.Delete("sAM_Ligin=@SAM,SID_Group=@SID_Group", sAM_Login,SID_Group);
		}
	}
}